from rest_framework.routers import DefaultRouter
from django.urls import path, include
from rest_framework.routers import DefaultRouter

from apps.tests import views

route = DefaultRouter()
route.register('case', views.CaseViewSet)
route.register('step', views.StepViewSet)
route.register('logs', views.CaseRunLogsViewSet)
route.register('tag', views.TagViewSet)


urlpatterns = [
    path('test/', include(route.urls), name='test'),
    path('test/actions/', views.action_keys),
    path('test/run/', views.case_run),
    path('test/check/', views.get_check_list),
    path('test/func_params/', views.get_func_params)

]
